package com.xiaou.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.xiaou.mapper.OrdersMapper;
import com.xiaou.pojo.Orders;
import com.xiaou.service.OrdersService;
@Transactional
@Service
public class OrdersServiceImpl implements OrdersService{
	@Autowired
	private OrdersMapper ordersMapper;
	@Override
	public List<Orders> findAllOrder() {
		List<Orders> list = ordersMapper.findAllOrders();
		return list;
	}

}
